#!/bin/bash

#file="zzxfile.js"
#newname="$(echo $file | sed 's/^zz//g')"
#newname="${file#zz}"

for file in zz*.js; do
    newname="${file#zz}"
    echo $newname
    mv $file $newname
done
